package cevent.source.cloudcenter.server.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;


/**
 * @author cevent
 * @description 文章/产品表 模块传输层
 */
public class ArticleDto {

        //唯一ID
        private String uniId;
        //关联|模块ID
        private String moduleId;
        //文章标题
        private String name;
        //seo标题
        private String seoTitle;
        //seo关键字
        private List<String> seoKeyword;
        //seo描述
        private String seoDescription;
        //文章图片列表
        private List<String> picList;
        //文章视频
        private String articleVideo;
        //文章加密视频
        private String articleVod;
        //视频封面
        private String videoCover;
        //视频标题
        private String videoTitle;
        //视频介绍
        private String videoDesc;
        //时长|单位秒
        private Integer videoTime;
        //是否收费||C收费|F免费
        private String videoCharge;
        //视频分类||P公共资源|I私有资源|D公司宣传片|A公司活动视频|C公司产品视频|T平台使用教程视频
        private String videoType;
        //关联|用户ID
        private String videoUserId;
        //文章类型
        private Integer typeId;
        //文章路径
        private String path;
        //显示1 || 不显示0
        private Integer isShow;
        //文章内容|富文本
        private String articleContent;
        //点击量
        private Integer clickNum;
        //排序
        private Integer sort;
        //创建时间
            @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
        private Date createTime;
        //修改时间
            @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
        private Date updateTime;
        //int创建时间
        private Integer iCreateTime;
        //int修改时间
        private Integer iUpdateTime;
        //价格
        private BigDecimal price;
        //首页显示（ON显示OFF不显示）
        private String indexShow;
        //级别|ONE("1","初级"),TWO("2","中级"),THREE("3","高级")
        private String level;
        //状态|PUBLISH("P","发布"),DRAFT("D","草稿")
        private String status;
        //报名预购
        private Integer enrollBuy;

        public String getUniId(){
            return  uniId;
        }
        public void setUniId(String uniId){
            this.uniId=uniId;
        }
        public String getModuleId(){
            return  moduleId;
        }
        public void setModuleId(String moduleId){
            this.moduleId=moduleId;
        }
        public String getName(){
            return  name;
        }
        public void setName(String name){
            this.name=name;
        }
        public String getSeoTitle(){
            return  seoTitle;
        }
        public void setSeoTitle(String seoTitle){
            this.seoTitle=seoTitle;
        }

    public List<String> getSeoKeyword() {
        return seoKeyword;
    }

    public void setSeoKeyword(List<String> seoKeyword) {
        this.seoKeyword = seoKeyword;
    }

    public String getSeoDescription(){
            return  seoDescription;
        }
        public void setSeoDescription(String seoDescription){
            this.seoDescription=seoDescription;
        }

    public List<String> getPicList() {
        return picList;
    }

    public void setPicList(List<String> picList) {
        this.picList = picList;
    }

    public String getArticleVideo(){
            return  articleVideo;
        }
        public void setArticleVideo(String articleVideo){
            this.articleVideo=articleVideo;
        }
        public String getVideoCover(){
            return  videoCover;
        }
        public void setVideoCover(String videoCover){
            this.videoCover=videoCover;
        }
        public String getVideoTitle(){
            return  videoTitle;
        }
        public void setVideoTitle(String videoTitle){
            this.videoTitle=videoTitle;
        }
        public String getVideoDesc(){
            return  videoDesc;
        }
        public void setVideoDesc(String videoDesc){
            this.videoDesc=videoDesc;
        }
        public Integer getVideoTime(){
            return  videoTime;
        }
        public void setVideoTime(Integer videoTime){
            this.videoTime=videoTime;
        }
        public String getVideoCharge(){
            return  videoCharge;
        }
        public void setVideoCharge(String videoCharge){
            this.videoCharge=videoCharge;
        }
        public String getVideoType(){
            return  videoType;
        }
        public void setVideoType(String videoType){
            this.videoType=videoType;
        }
        public String getVideoUserId(){
            return  videoUserId;
        }
        public void setVideoUserId(String videoUserId){
            this.videoUserId=videoUserId;
        }
        public Integer getTypeId(){
            return  typeId;
        }
        public void setTypeId(Integer typeId){
            this.typeId=typeId;
        }
        public String getPath(){
            return  path;
        }
        public void setPath(String path){
            this.path=path;
        }
        public Integer getIsShow(){
            return  isShow;
        }
        public void setIsShow(Integer isShow){
            this.isShow=isShow;
        }
        public String getArticleContent(){
            return  articleContent;
        }
        public void setArticleContent(String articleContent){
            this.articleContent=articleContent;
        }
        public Integer getClickNum(){
            return  clickNum;
        }
        public void setClickNum(Integer clickNum){
            this.clickNum=clickNum;
        }
        public Integer getSort(){
            return  sort;
        }
        public void setSort(Integer sort){
            this.sort=sort;
        }
        public Date getCreateTime(){
            return  createTime;
        }
        public void setCreateTime(Date createTime){
            this.createTime=createTime;
        }
        public Date getUpdateTime(){
            return  updateTime;
        }
        public void setUpdateTime(Date updateTime){
            this.updateTime=updateTime;
        }
        public Integer getICreateTime(){
            return  iCreateTime;
        }
        public void setICreateTime(Integer iCreateTime){
            this.iCreateTime=iCreateTime;
        }
        public Integer getIUpdateTime(){
            return  iUpdateTime;
        }
        public void setIUpdateTime(Integer iUpdateTime){
            this.iUpdateTime=iUpdateTime;
        }
        public BigDecimal getPrice(){
            return  price;
        }
        public void setPrice(BigDecimal price){
            this.price=price;
        }

    public String getIndexShow() {
        return indexShow;
    }

    public void setIndexShow(String indexShow) {
        this.indexShow = indexShow;
    }

    public String getLevel(){
            return  level;
        }
        public void setLevel(String level){
            this.level=level;
        }
        public String getStatus(){
            return  status;
        }
        public void setStatus(String status){
            this.status=status;
        }
        public Integer getEnrollBuy(){
            return  enrollBuy;
        }
        public void setEnrollBuy(Integer enrollBuy){
            this.enrollBuy=enrollBuy;
        }

    public String getArticleVod() {
        return articleVod;
    }

    public void setArticleVod(String articleVod) {
        this.articleVod = articleVod;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("ArticleDto{");
        sb.append("uniId='").append(uniId).append('\'');
        sb.append(", moduleId='").append(moduleId).append('\'');
        sb.append(", name='").append(name).append('\'');
        sb.append(", seoTitle='").append(seoTitle).append('\'');
        sb.append(", seoKeyword=").append(seoKeyword);
        sb.append(", seoDescription='").append(seoDescription).append('\'');
        sb.append(", picList=").append(picList);
        sb.append(", articleVideo='").append(articleVideo).append('\'');
        sb.append(", articleVod='").append(articleVod).append('\'');
        sb.append(", videoCover='").append(videoCover).append('\'');
        sb.append(", videoTitle='").append(videoTitle).append('\'');
        sb.append(", videoDesc='").append(videoDesc).append('\'');
        sb.append(", videoTime=").append(videoTime);
        sb.append(", videoCharge='").append(videoCharge).append('\'');
        sb.append(", videoType='").append(videoType).append('\'');
        sb.append(", videoUserId='").append(videoUserId).append('\'');
        sb.append(", typeId=").append(typeId);
        sb.append(", path='").append(path).append('\'');
        sb.append(", isShow=").append(isShow);
        sb.append(", articleContent='").append(articleContent).append('\'');
        sb.append(", clickNum=").append(clickNum);
        sb.append(", sort=").append(sort);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", iCreateTime=").append(iCreateTime);
        sb.append(", iUpdateTime=").append(iUpdateTime);
        sb.append(", price=").append(price);
        sb.append(", indexShow='").append(indexShow).append('\'');
        sb.append(", level='").append(level).append('\'');
        sb.append(", status='").append(status).append('\'');
        sb.append(", enrollBuy=").append(enrollBuy);
        sb.append('}');
        return sb.toString();
    }
}
